package ee.model;

import java.util.Collection;

public class Project {
  private Collection<Assignment> assignments;
  private String projectName;

  public String getProjectName() {
    return projectName;
  }

  public void setProjectName(String projectName) {
    this.projectName = projectName;
  }

  public Collection<Assignment> getAssignments() {
    return assignments;
  }

  public void setAssignments(Collection<Assignment> assignments) {
    this.assignments = assignments;
  }

  public void addAssignment(Assignment assignment) {
    assignments.add(assignment);
  }
}
